package main

import "fmt"

/**
 * @author: guangcheng
 * @date:   2020/11/3 10:31
 * @version  V1.0
 * @description:
 *
 */
func main() {

	var n int
	var a int = 100
	var b int = 20

	//没有三元运算符 n=a>b?a:b
	if a > b {
		n = a
	} else {
		n = b
	}

	fmt.Println(n)
}
